using System;

public class Phone
{
   
    public string Brand { get; set; }
    public string Weight { get; set; }
    public int Camera { get; set; }
    public double Price { get; set; }

 
    public void DisplayInfo()
    {
        Console.WriteLine("手机信息如下：");
        Console.WriteLine($"品牌：{Brand}");
        Console.WriteLine($"重量：{Weight}");
        Console.WriteLine($"后置摄像头像素：{Camera:N0}");
        Console.WriteLine($"价格：{Price:C}");
    }
}